

#ifndef GRAPH_H_
#define GRAPH_H_

#include <string>
#include <vector>
#include "Worker.h"
#include "Mailbox.h"


class Graph {
public:
	Graph();
	virtual ~Graph();
	bool build_graph(string filename, Mailbox* mailer_mailbox);
	int get_buffer_size();
	//vector<Worker> get_workers();
	void print();
    int getNumber_of_nodes() const
    {
        return _number_of_nodes;
    }

    vector<Worker*>* getNodes() const
    {
        return _nodes;
    }

private:
	int 			    _number_of_nodes;
	int 			    _buffer_size;
	vector<Worker*>*	_nodes;

};

#endif /* GRAPH_H_ */
